package com.doyoo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum Type /*implements IEnum<Integer>*/ {
    SHELL(1, "shell"),
    PYTHON(2, "python");

    @EnumValue
    @JsonValue
    private Integer value;
    private String name;

    Type(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

}